import React, { Component } from "react";

//!jspan.com.前端免费视频博客 红色
//?jspan.com.前端免费视频博客 蓝色
////jspan.com.前端免费视频博客  代码删除
//todo.前端免费视频博客  橘色
//*.前端免费视频博客  浅绿色
// 可自定义注释颜色
class Example extends Component {
    constructor(props) {
        super(props);
        this.state = { count: 0 }

    }
    render() {
        return (<div>
            <p>You clicked {this.state.count} times</p>
            <button onClick={this.addCount.bind(this)}>Chlick me</button>
        </div>
        )
    }
    addCount() {
        this.setState({ count: this.state.count + 1 });
    }
}
export default Example;


let josn = {
    a: 1
}